package com.icode.service.house;

import com.icode.core.dto.house.HouseInfoDTO;
import com.icode.core.dto.house.HouseWeekDTO;
import com.icode.core.model.house.HouseInfo;

import javax.servlet.http.HttpServletResponse;
import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: xianfei
 * Date: 15-6-24
 * Time: 下午5:25
 * To change this template use File | Settings | File Templates.
 */
public interface HouseWeeklyService {

    void findHouseInfoByArea(String area, HttpServletResponse response);

    void findHouseInfoForHouseWeekTime(String area, HttpServletResponse response);

    void divideHouseWeek(String area, String guids, String week, String price,String description);

    void findHouseWeekByArea(List<HouseWeekDTO> houseWeekDTOs, HttpServletResponse response);

    void findHouseWeekTimeByArea(String area, HttpServletResponse response);

    void deleteHouseWeekByGuids(String guids);

    void findHouseWeekType(String area, String houseInfoGuid, HttpServletResponse response);

    void divideWeekTime(String houseWeekGuid, String time);

    void deleteHouseWeekTimeByGuids(String guids);

    List<HouseInfoDTO> findAllHouseInfos();

    List<HouseWeekDTO> findHouseWeekByHouseInfoGuid(String guid);

    HouseWeekDTO findHouseWeekByGuid(String houseWeekGuid);

    void upDateBase(HouseWeekDTO houseWeekDTO);

    void updatehouseweektime(String start, String end, String houseweektimeguid);

    void addweek(String houseInfoguid, String week, String price, String description, String totalNum);

    HouseWeekDTO findHouseWeekByHouseInfoAndweekName(String houseInfoGuid, String week);

    void addweeks(String guids, String weekH, String weekW, String weekP, String weekD);

    void batchupdatehouseweektime(String houseInfoguids, String weekName, String weekTimes);
}
